<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_id" data-rule="required" data-source="user/group/index" class="form-control selectpage" name="row[group_id]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('P_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-p_user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[p_user_id]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id_1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id_1" data-source="user/user/index" data-field="nickname" data-params='{"custom[group_id]":1}' class="form-control selectpage" name="row[user_id_1]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id_2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id_2" data-source="user/user/index" data-field="nickname" data-params='{"custom[group_id]":2}' class="form-control selectpage" name="row[user_id_2]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id_3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id_3" data-source="user/user/index" data-field="nickname" data-params='{"custom[group_id]":3}' class="form-control selectpage" name="row[user_id_3]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id_4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id_4" data-source="user/user/index" data-field="nickname" data-params='{"custom[group_id]":4}' class="form-control selectpage" name="row[user_id_4]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
